import axiosInstance from '@/api/axiosInstance'


// 获取全部系统设置
export const getAllSystemSetting = async () => {
  return axiosInstance.get('/admin/system-setting')
}


// 更新系统设置
export const setSystemSetting = async (data: {key:string,value:number|string}) => {
  return axiosInstance.post(`/admin/system-setting`, data)
}